<%-- 
    Document   : login
    Created on : Nov 9, 2012, 3:13:07 PM
    Author     : developer
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>BONDIOLA S.A.</title>
<style type="text/css">

#user {
	margin-top: 80px;
}

fieldset legend {
	border: solid 1px #AAA;
	display: block;
	padding: 5px 15px 5px 15px;
	border-radius: 5px;
	box-shadow: 0px 0px 7px #666;
}

fieldset {
	border-radius: 7px 7px 0 0;
	width: 350px;
	background-color: #ECECEC;
	box-shadow:
}

#enter {
	margin-top: 30px;
}

#enter span {
	float: left;
	margin-left: 50px;
}

#enter input {
	margin-left: 150px;
	display: block;
}

button {
	margin-right: 43;
	width: 100px;
	height: 30px;
	cursor: pointer;
	background-color: #5DA61E;
	border-radius: 5px;
	border: none;
	color: white;
}

}
button:hover {
	box-shadow: 0px 0px 3px #666;
	border: none;
	color: white;
}

button .spam {
	margin-right: 12px;
}

hr {
	width: 100%;
}
</style>
    </head>
    <body>


<div id="user">
	<fieldset>
		<legend>LOGIN AREA</legend>
		<div id="enter">
			<form action="loginServlet" method="POST">
				<input type="text" placeholder="Usuario" name="usuario" /><br> <input
					type="password" max="4" min="2" placeholder="Pass" name="password" />
				<div>
					<hr>
					<button type="submit" value="Entrar" style="float: right;">ENTRAR</button>

					<%
						String error = (String) request.getAttribute("errorMensaje");
					%>
					<%
						if (error != null) {
					%>
					<h5 style="color: green"><%=error%></h5>
					<%
						}
					%>
				
			</form>
	</fieldset>
</div>
    </body>
</html>
